import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/on_duty_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/on_duty_entity.g.dart';

///值班统计实体
@JsonSerializable()
class OnDutyEntity {

	OnDutyEntity();

	factory OnDutyEntity.fromJson(Map<String, dynamic> json) => $OnDutyEntityFromJson(json);
	int? askForLeave = 0;
	int? beLate = 0;
	int? leaveEarly = 0;
	int? missingNum = 0;
	int? normalNum = 0;
	int? planUnDuty = 0;
	int? unDuty = 0;

	Map<String, dynamic> toJson() => $OnDutyEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
